package communication.message;

/***
 * 
 * @author Bogusław Zaręba
 *
 */

public class Response {
	private boolean accept;
	
	public Response(boolean accept) {
		this.accept = accept;
	}
	
	public boolean getAccept() {
		return accept;
	}
	
	public String toString() {
		return XMLTagCreator.singleTag("response", "accept", accept ? "yes" : "no");
	}
}
